package com.daka.dao;

import com.daka.entity.Team;
import com.daka.mybatis.SQLMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository(value = "teamDao")
@SQLMapper
public interface TeamDao {
    int deleteByPrimaryKey(Long id);

    int insert(Team record);

    Team selectByPrimaryKey(Long id);

    List<Team> selectByStatement(Team record);

    int selectByStatementCount(Team record);

    int updateByPrimaryKeySelective(Team record);

    List<Team> selectAll();

    List<Team> selectArea();

    List<Team> selectByArea(Long area);

}